package com.itheima.crm.service;



import com.itheima.common.utils.Page;
import com.itheima.crm.pojo.Application;



public interface ApplicationService {
	
		
		//查询分页对象
		public Page<Application> selectApplicationList(Application application);
		
		//通过ID查询客户
		public Application selectApplicationById(Integer id);
		
		//修改客户通过ID
		public void updateApproveById(Application application);
		
		public void updateApplicationById(Application application);
		//插入员工信息
		public void insertApplication(Application application);
		//通过ID 删除客户
		public void deleteApplication(Integer id);
		//查看我的业务分页
		public Page<Application> selectMyApplication(Application application);
		
		public Page<Application> selectOrganizationApplication(Application application);
		
		public Page<Application> selectMyAndOrganization(Application application);
		//通过登录名查工号
		public Integer selectYGidBylogin(String loginname,String loginpw);
		
		public Page<Application> selectHuiYi(Application application);
		
		public void updateApplicationResult(Integer id);
		
		public Integer MaxApplicationId();
		
		
	
}
